// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import store from './store'
import router from './router'
import flex from 'raziel-flex'
import fastClick from 'fastclick'
import { Lazyload } from 'vant'
import './common/font/iconfont.css'
import './common/css/reset.css'

fastClick.attach(document.body)
flex(600)

Vue.config.productionTip = false

Vue.use(Lazyload, {
  loading: require('./common/imgs/load.gif')
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
